@echo off
echo Killing processes using port 8000...
for /f "tokens=5" %%a in ('netstat -ano ^| find ":8000" ^| find "LISTENING"') do (
    echo Killing process with PID: %%a
    taskkill /F /PID %%a
)
echo Done.
pause 